package com.xhai.service.impl;

import com.xhai.common.domain.entity.SysPost;
import com.xhai.mapper.SysPostMapper;
import com.xhai.service.SysPostService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 岗位表 服务实现类
 * </p>
 *
 * @author xhai
 * @since 2025-05-24
 */
@Service
public class SysPostServiceImpl extends ServiceImpl<SysPostMapper, SysPost> implements SysPostService {

    @Resource
    private SysPostMapper sysPostMapper;

    @Override
    public List<SysPost> selectPostByUserId(Long userId) {
        return sysPostMapper.selectPostByUserId(userId);
    }
}
